// let url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid%3Dwwc72dfdd6a4fab808%26redirect_uri%3Dhttp%3A%2F%2Fa.reactphp.club%26response_type%3Dcode%26scope%3Dsnsapi_base%26state%3DwebLogin%26agentid%3D1000006#wechat_redirect";

let money = 10900.00 + "";

// 将100000.00转换为100,000
money = money.replace(/\B(?=(\d{3})+(?!\d))/g, ",");

console.log(money); // 100,000